package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.entity.Approve;
import com.ruoyi.common.core.domain.entity.ApproveMission;
import com.ruoyi.system.service.enums.ApproveActivityType;

import java.util.List;

/**
 * @author：liyouxin
 * @date：2023/8/15 16:31
 */
public interface ApproveService {
	public List<ApproveMission> getNeedMeByUserId(Long userId);
	public List<ApproveMission> getNeedMeAlreadyByUserId(Long userId);
	public List<ApproveMission> getApply(ApproveMission approveMission);
	public ApproveMission getByActivityd(Long activityId, String activityType);
	public List<Approve> getByMissionId(Long id);
	public List<Approve> getApproveByActivityd(Long activityId, String activityType);
	public ApproveMission getApproveMissionByActivityd(Long activityId, String activityType);
	public ApproveMission createApproveMission(ApproveMission approveMission);
	public List<Approve> createApprove(Long activityId, ApproveActivityType activityType);
	public Boolean approve(Long id);
	public Boolean deny(Long id);

}
